<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="app">hello world</div>
    <!-- <script type="module" src="./main.js"> -->
    <script>
      function regularFunc() {
        console.log("regular func start");
        console.log(window);
        console.log(this);
        console.log("regular func end ");
      }

      const arrowFunc = () => {
        console.log("arrow func start");
        console.log(this);
        console.log("arrow func end");
      };

      regularFunc();
      arrowFunc();
    </script>
  </body>
</html>
